package com.note.back.pojo;

import lombok.Data;
import javax.validation.constraints.Email;
import javax.validation.constraints.Pattern;

@Data
public class SMS {
    @Email(message = "请输入有效的邮箱地址")
    private String email;
    @Pattern(regexp = "^\\S{6}$")
    private String smsCode;
}